package com.yydream.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "用户端用户表",description = "")
@TableName("shf_user")
@Data
public class ShfUserEntity extends TenantBaseEntity {
    /** 用户id */
    @ApiModelProperty(name = "用户id",notes = "")
    @TableId
    private Long id ;

    @ApiModelProperty(name = "电话",notes = "")
    private String phone ;

    @ApiModelProperty(name = "昵称",notes = "")
    private String nickname ;

    @ApiModelProperty(name = "性别",notes = "（1：男，2：女）")
    private Integer sex ;

    @ApiModelProperty(name = "密码",notes = "")
    private String pwd ;

    @ApiModelProperty(name = "密码盐",notes = "随机4位，注册时生成")
    private String pwdSalt ;

    @ApiModelProperty(name = "状态",notes = "（0禁用 1正常 2冻结）")
    private Integer state ;

    @ApiModelProperty(name = "头像",notes = "")
    private String headImg ;

    @ApiModelProperty(name = "实名状态",notes = "实名认证状态 0未认证 1已认证 2认证失败")
    private Integer ertificationStatus ;

    @ApiModelProperty(name = "实名认证姓名",notes = "")
    private String ertificationName ;

    @ApiModelProperty(name = "身份证号",notes = "")
    private String ertificationCard ;

    @ApiModelProperty(name = "生日",notes = "")
    private Date birth ;

    @ApiModelProperty(name = "最后登录时间",notes = "")
    private Date lastLoginTime;
}
